import QtQuick 2.7
import QtQuick.Window 2.0
import QtWebEngine 1.3
import QtQuick.Controls 1.4
import QtQuick.Controls 2.0


Window {
    id: window1
    width: 1024
    height: 750
    visible: true

    Sidebar {
    id:sidebar
    }

      Rectangle {
          id: folder
          color: "#EDF2F6"
          width: (parent.width - sidebar.width)*0.3
          anchors.bottom: parent.bottom
          anchors.top: parent.top
          anchors.left: sidebar.right

      }
      Rectangle {
          id: actions
          color: "white"
          width: (parent.width - sidebar.width)*0.3
          anchors.bottom: parent.bottom
          anchors.top: parent.top
          anchors.left: folder.right
          ItemTree3 {
              id:itemTree2
          }
      }
      Rectangle {
          id: property
          width: (parent.width - sidebar.width)*0.4
          color: "#F0F0F0"
          anchors.bottom: parent.bottom
          anchors.top: parent.top
          anchors.left: actions.right
      }
      function f() {
        console.log(sidebar.Rectangle.ListView.currentIndex);
      }
  }
